<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no">
	<title>Document</title>
	<script src="../dist/monkeyOrientation.js"></script>
	<script>
        new monkeyOrientation({
            enable:true, //可选 默认：true
            animation:true, // //可选 默认：true
            background:"#333", // //可选 默认：#333
            text:"请保持竖屏浏览", // //可选 默认：为了更好的体验，请使用竖屏浏览
            callback: (v) => {
                console.log(`当前orientation：${v}`);
            }
        });
	</script>
</head>
<body>
<h1>横屏看看</h1>
</body>
</html>